{
  "bundles": [
    {
      "@type": "NXBundle",
      "artifactId": "nuxeo-platform-comment-workflow",
      "artifactVersion": "2021.57.3",
      "bundleGroup": {
        "@type": "NXBundleGroup",
        "bundleIds": [
          "org.nuxeo.ecm.platform.comment",
          "org.nuxeo.ecm.platform.comment.api",
          "org.nuxeo.ecm.platform.comment.core",
          "org.nuxeo.ecm.platform.comment.restapi",
          "org.nuxeo.ecm.platform.comment.web",
          "org.nuxeo.ecm.platform.comment.workflow"
        ],
        "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment",
        "id": "grp:org.nuxeo.ecm.platform.comment",
        "name": "org.nuxeo.ecm.platform.comment",
        "parentIds": [
          "grp:org.nuxeo.ecm.platform"
        ],
        "readmes": [],
        "version": "2021.57"
      },
      "bundleId": "org.nuxeo.ecm.platform.comment.workflow",
      "components": [
        {
          "@type": "NXComponent",
          "componentClass": "org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationServiceImpl",
          "documentationHtml": "",
          "extensionPoints": [],
          "extensions": [],
          "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService",
          "name": "org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService",
          "requirements": [],
          "resolutionOrder": 328,
          "services": [
            {
              "@type": "NXService",
              "componentId": "org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService",
              "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService/Services/org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService",
              "id": "org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService",
              "overriden": false,
              "version": "2021.57.3"
            }
          ],
          "startOrder": 302,
          "version": "2021.57.3",
          "xmlFileContent": "<?xml version=\"1.0\"?>\n\n<component name=\"org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService\"\n version=\"1.0\">\n\n <service>\n  <provide\n   interface=\"org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationService\" />\n </service>\n\n <implementation\n  class=\"org.nuxeo.ecm.platform.comment.workflow.services.CommentsModerationServiceImpl\" />\n\n</component>\n",
          "xmlFileName": "/OSGI-INF/comments-moderation-service.xml",
          "xmlPureComponent": false
        },
        {
          "@type": "NXComponent",
          "documentationHtml": "",
          "extensionPoints": [],
          "extensions": [
            {
              "@type": "NXContribution",
              "documentationHtml": "",
              "extensionPoint": "org.nuxeo.ecm.platform.ec.notification.service.NotificationService--notifications",
              "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib/Contributions/org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib--notifications",
              "id": "org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib--notifications",
              "registrationOrder": 3,
              "targetComponentName": {
                "rawName": "service:org.nuxeo.ecm.platform.ec.notification.service.NotificationService",
                "name": "org.nuxeo.ecm.platform.ec.notification.service.NotificationService",
                "type": "service"
              },
              "version": "2021.57.3",
              "xml": "<extension point=\"notifications\" target=\"org.nuxeo.ecm.platform.ec.notification.service.NotificationService\">\n\n    <notification autoSubscribed=\"false\" availableIn=\"Workspace\" channel=\"email\" enabled=\"true\" label=\"notifications.name.CommentPublication\" name=\"CommentPublication\" subject=\"Comment published\" template=\"comment\">\n      <event name=\"commentPublished\"/>\n    </notification>\n\n  </extension>"
            },
            {
              "@type": "NXContribution",
              "documentationHtml": "",
              "extensionPoint": "org.nuxeo.ecm.platform.ec.notification.service.NotificationService--templates",
              "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib/Contributions/org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib--templates",
              "id": "org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib--templates",
              "registrationOrder": 4,
              "targetComponentName": {
                "rawName": "service:org.nuxeo.ecm.platform.ec.notification.service.NotificationService",
                "name": "org.nuxeo.ecm.platform.ec.notification.service.NotificationService",
                "type": "service"
              },
              "version": "2021.57.3",
              "xml": "<extension point=\"templates\" target=\"org.nuxeo.ecm.platform.ec.notification.service.NotificationService\">\n\n    <template name=\"comment\" src=\"templates/comment.ftl\"/>\n\n  </extension>"
            }
          ],
          "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib",
          "name": "org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib",
          "requirements": [],
          "resolutionOrder": 329,
          "services": [],
          "startOrder": 299,
          "version": "2021.57.3",
          "xmlFileContent": "<?xml version=\"1.0\"?>\n\n<component\n    name=\"org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib\">\n\n\n  <extension\n      target=\"org.nuxeo.ecm.platform.ec.notification.service.NotificationService\"\n      point=\"notifications\">\n\n    <notification name=\"CommentPublication\" channel=\"email\" enabled=\"true\" availableIn=\"Workspace\"\n      autoSubscribed=\"false\" template=\"comment\" subject=\"Comment published\" label=\"notifications.name.CommentPublication\">\n      <event name=\"commentPublished\"/>\n    </notification>\n\n  </extension>\n\n  <extension\n    target=\"org.nuxeo.ecm.platform.ec.notification.service.NotificationService\"\n    point=\"templates\">\n\n    <template name=\"comment\" src=\"templates/comment.ftl\" />\n\n  </extension>\n\n</component>\n",
          "xmlFileName": "/OSGI-INF/notification-contrib.xml",
          "xmlPureComponent": true
        },
        {
          "@type": "NXComponent",
          "documentationHtml": "",
          "extensionPoints": [],
          "extensions": [
            {
              "@type": "NXContribution",
              "documentationHtml": "",
              "extensionPoint": "org.nuxeo.ecm.core.operation.OperationServiceComponent--operations",
              "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.operation.contrib/Contributions/org.nuxeo.ecm.platform.comment.workflow.operation.contrib--operations",
              "id": "org.nuxeo.ecm.platform.comment.workflow.operation.contrib--operations",
              "registrationOrder": 17,
              "targetComponentName": {
                "rawName": "service:org.nuxeo.ecm.core.operation.OperationServiceComponent",
                "name": "org.nuxeo.ecm.core.operation.OperationServiceComponent",
                "type": "service"
              },
              "version": "2021.57.3",
              "xml": "<extension point=\"operations\" target=\"org.nuxeo.ecm.core.operation.OperationServiceComponent\">\n    <operation class=\"org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation\"/>\n  </extension>"
            },
            {
              "@type": "NXContribution",
              "documentationHtml": "",
              "extensionPoint": "org.nuxeo.ecm.core.operation.OperationServiceComponent--chains",
              "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.operation.contrib/Contributions/org.nuxeo.ecm.platform.comment.workflow.operation.contrib--chains",
              "id": "org.nuxeo.ecm.platform.comment.workflow.operation.contrib--chains",
              "registrationOrder": 2,
              "targetComponentName": {
                "rawName": "service:org.nuxeo.ecm.core.operation.OperationServiceComponent",
                "name": "org.nuxeo.ecm.core.operation.OperationServiceComponent",
                "type": "service"
              },
              "version": "2021.57.3",
              "xml": "<extension point=\"chains\" target=\"org.nuxeo.ecm.core.operation.OperationServiceComponent\">\n\n    <chain id=\"acceptComment\">\n      <operation id=\"Context.FetchDocument\"/>\n      <operation id=\"Comment.Moderate\">\n        <param name=\"accept\" type=\"boolean\">true</param>\n      </operation>\n    </chain>\n\n    <chain id=\"rejectComment\">\n      <operation id=\"Context.FetchDocument\"/>\n      <operation id=\"Comment.Moderate\">\n        <param name=\"accept\" type=\"boolean\">false</param>\n      </operation>\n    </chain>\n\n  </extension>"
            }
          ],
          "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.operation.contrib",
          "name": "org.nuxeo.ecm.platform.comment.workflow.operation.contrib",
          "requirements": [],
          "resolutionOrder": 330,
          "services": [],
          "startOrder": 300,
          "version": "2021.57.3",
          "xmlFileContent": "<?xml version=\"1.0\"?>\n<component name=\"org.nuxeo.ecm.platform.comment.workflow.operation.contrib\">\n\n  <extension target=\"org.nuxeo.ecm.core.operation.OperationServiceComponent\"\n    point=\"operations\">\n    <operation class=\"org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation\" />\n  </extension>\n\n  <extension point=\"chains\"\n    target=\"org.nuxeo.ecm.core.operation.OperationServiceComponent\">\n\n    <chain id=\"acceptComment\">\n      <operation id=\"Context.FetchDocument\" />\n      <operation id=\"Comment.Moderate\">\n        <param type=\"boolean\" name=\"accept\">true</param>\n      </operation>\n    </chain>\n\n    <chain id=\"rejectComment\">\n      <operation id=\"Context.FetchDocument\" />\n      <operation id=\"Comment.Moderate\">\n        <param type=\"boolean\" name=\"accept\">false</param>\n      </operation>\n    </chain>\n\n  </extension>\n\n</component>\n",
          "xmlFileName": "/OSGI-INF/comment-operation-contrib.xml",
          "xmlPureComponent": true
        },
        {
          "@type": "NXComponent",
          "documentationHtml": "",
          "extensionPoints": [],
          "extensions": [
            {
              "@type": "NXContribution",
              "documentationHtml": "",
              "extensionPoint": "org.nuxeo.ecm.platform.query.api.PageProviderService--providers",
              "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.pageprovider/Contributions/org.nuxeo.ecm.platform.comment.workflow.pageprovider--providers",
              "id": "org.nuxeo.ecm.platform.comment.workflow.pageprovider--providers",
              "registrationOrder": 13,
              "targetComponentName": {
                "rawName": "service:org.nuxeo.ecm.platform.query.api.PageProviderService",
                "name": "org.nuxeo.ecm.platform.query.api.PageProviderService",
                "type": "service"
              },
              "version": "2021.57.3",
              "xml": "<extension point=\"providers\" target=\"org.nuxeo.ecm.platform.query.api.PageProviderService\">\n\n    <coreQueryPageProvider name=\"GET_COMMENT_MODERATION_TASKS\">\n      <pattern>\n        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND\n        ecm:currentLifeCycleState\n        NOT IN ('ended', 'cancelled') AND ecm:isProxy =\n        0 AND nt:targetDocumentId = ? AND nt:actors/* IN (?) AND\n        nt:task_variables/*/key = 'commentId' AND nt:task_variables/*/value = ?\n      </pattern>\n      <pageSize>0</pageSize>\n      <maxPageSize>0</maxPageSize>\n    </coreQueryPageProvider>\n\n  </extension>"
            }
          ],
          "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow/org.nuxeo.ecm.platform.comment.workflow.pageprovider",
          "name": "org.nuxeo.ecm.platform.comment.workflow.pageprovider",
          "requirements": [],
          "resolutionOrder": 331,
          "services": [],
          "startOrder": 301,
          "version": "2021.57.3",
          "xmlFileContent": "<?xml version=\"1.0\"?>\n<component name=\"org.nuxeo.ecm.platform.comment.workflow.pageprovider\">\n\n  <extension target=\"org.nuxeo.ecm.platform.query.api.PageProviderService\"\n    point=\"providers\">\n\n    <coreQueryPageProvider name=\"GET_COMMENT_MODERATION_TASKS\">\n      <pattern>\n        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND\n        ecm:currentLifeCycleState\n        NOT IN ('ended', 'cancelled') AND ecm:isProxy =\n        0 AND nt:targetDocumentId = ? AND nt:actors/* IN (?) AND\n        nt:task_variables/*/key = 'commentId' AND nt:task_variables/*/value = ?\n      </pattern>\n      <pageSize>0</pageSize>\n      <maxPageSize>0</maxPageSize>\n    </coreQueryPageProvider>\n\n  </extension>\n\n</component>\n",
          "xmlFileName": "/OSGI-INF/comment-pageprovider-contrib.xml",
          "xmlPureComponent": true
        }
      ],
      "fileName": "nuxeo-platform-comment-workflow-2021.57.3.jar",
      "groupId": "org.nuxeo.ecm.platform",
      "hierarchyPath": "/grp:org.nuxeo.ecm.platform/grp:org.nuxeo.ecm.platform.comment/org.nuxeo.ecm.platform.comment.workflow",
      "id": "org.nuxeo.ecm.platform.comment.workflow",
      "location": "",
      "manifest": "Manifest-Version: 1.0\r\nArchiver-Version: Plexus Archiver\r\nCreated-By: Apache Maven\r\nBuilt-By: root\r\nBuild-Jdk: 11.0.23\r\nBundle-ManifestVersion: 1\r\nBundle-Version: 2021.57.3-t20240716-132725\r\nBundle-Name: Nuxeo ECM Comment Workflow implementation\r\nBundle-SymbolicName: org.nuxeo.ecm.platform.comment.workflow;singleton\r\n =true\r\nBundle-Vendor: Nuxeo\r\nBundle-Category: core,stateful\r\nNuxeo-Component: OSGI-INF/comments-moderation-service.xml,OSGI-INF/not\r\n ification-contrib.xml,OSGI-INF/comment-operation-contrib.xml,OSGI-INF\r\n /comment-pageprovider-contrib.xml\r\nRequire-Bundle: org.nuxeo.ecm.platform.comment.api, org.nuxeo.ecm.core\r\n .api\r\n\r\n",
      "maxResolutionOrder": 331,
      "minResolutionOrder": 328,
      "packages": [],
      "requirements": [
        "org.nuxeo.ecm.platform.comment.api",
        "org.nuxeo.ecm.core.api"
      ],
      "version": "2021.57.3"
    }
  ],
  "creationDate": 1721639286546,
  "key": "Nuxeo Platform-2021.57",
  "name": "Nuxeo Platform",
  "operations": [
    {
      "@type": "NXOperation",
      "aliases": [],
      "category": "Document",
      "contributingComponent": "org.nuxeo.ecm.platform.comment.workflow.operation.contrib",
      "description": "Follow publish if accept is true, reject otherwise.",
      "hierarchyPath": "/op:Comment.Moderate",
      "label": "Follow publish or reject transition",
      "name": "Comment.Moderate",
      "operationClass": "org.nuxeo.ecm.platform.comment.workflow.ModerateCommentOperation",
      "params": [
        {
          "description": null,
          "isRequired": true,
          "name": "accept",
          "order": 0,
          "type": "boolean",
          "values": [],
          "widget": null
        }
      ],
      "signature": [
        "document",
        "document",
        "documents",
        "documents"
      ],
      "url": "Comment.Moderate",
      "version": "2021.57.3"
    },
    {
      "@type": "NXOperation",
      "aliases": [],
      "category": "Chain",
      "contributingComponent": "org.nuxeo.ecm.platform.comment.workflow.operation.contrib",
      "hierarchyPath": "/op:acceptComment",
      "label": "acceptComment",
      "name": "acceptComment",
      "operationClass": "org.nuxeo.ecm.automation.core.impl.OperationChainCompiler.CompiledChainImpl",
      "params": [],
      "signature": [
        "document",
        "document",
        "documents",
        "documents"
      ],
      "url": "acceptComment",
      "version": "2021.57.3"
    },
    {
      "@type": "NXOperation",
      "aliases": [],
      "category": "Chain",
      "contributingComponent": "org.nuxeo.ecm.platform.comment.workflow.operation.contrib",
      "hierarchyPath": "/op:rejectComment",
      "label": "rejectComment",
      "name": "rejectComment",
      "operationClass": "org.nuxeo.ecm.automation.core.impl.OperationChainCompiler.CompiledChainImpl",
      "params": [],
      "signature": [
        "document",
        "document",
        "documents",
        "documents"
      ],
      "url": "rejectComment",
      "version": "2021.57.3"
    }
  ],
  "packages": [],
  "pluginSnapshots": {},
  "releaseDate": 1721639286546,
  "version": "2021.57"
}